package com.gaogzhen.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gaogzhen.domain.CoinWithdraw;
    /**
* @description ${description}
* @author Administrator
* @date 2022-11-03 11:43
* @version 1.0
*/
public interface CoinWithdrawService extends IService<CoinWithdraw>{


    /**
     * 分页查询GCN充值记录
     * @param page          分页
     * @param coinId        币种id
     * @param userId        用户id
     * @param username      用户名
     * @param mobile        手机号
     * @param status        状态
     * @param numMin        充值金额下限
     * @param numMax        充值金额上限
     * @param startTime     开始时间
     * @param endTime       截止时间
     * @return              GCN充值分页记录
     */
    Page<CoinWithdraw> findByPage(Page<CoinWithdraw> page, Long coinId, Long userId, String username, String mobile, Byte status, String numMin, String numMax, String startTime, String endTime);

        /**
         * 分页查询当前用户币种提现记录
         * @param userId    用户id
         * @param page      分页信息
         * @param coinId    币种id
         * @return          币种提现记录
         */
    Page<CoinWithdraw> findCurrentByPage(Long userId, Page<CoinWithdraw> page, Long coinId);
}
